import os
JSON_AS_ASCII = False
HOSTNAME = "127.0.0.1"
HOST = '0.0.0.0'
PORT = 3306
USERNAME = "root"
PASSWORD = "youzi520"
DATABASE = "engenius"
DB_URI = 'mysql+mysqlconnector://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
STATIC_FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static')
os.environ["OPENAI_API_KEY"] = "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"
os.environ["SERPAPI_API_KEY"] = "781946e2aaf710c0079dca88ba82931154391032b17ab303afc29cba3a95703e"
SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = "20231111"
SEND_FILE_MAX_AGE_DEFAULT = 3600
BAIDU_API_KEY = "wTquyEAZglf3cWY3ShMquGwB"
BAIDU_SECRET_KEY = "qdoCPDC4zhv0zCeldlNaKybnKi4OxDN0"